﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace FxCore.Base
{
    /// <summary>
    /// 点和点之间的“距离”表示
    /// </summary>
    public class FxSize
    {
        public float Length { get; }

        public float Width { get; }

        public static FxSize Empty;

        static FxSize()
        {
            FxSize.Empty = new FxSize();
        }

        public FxSize()
        {
            this.Length = 0.0F;
            this.Width = 0.0F;
        }

        public FxSize(float length, float width)
        {
            this.Length = length;
            this.Width = width;
        }


    }
}
